Class KeyPairAuthenticationDetailProvider

    • Constructor Detail

      • KeyPairAuthenticationDetailProvider

        public KeyPairAuthenticationDetailProvider​(String resourceId,
                                                   InputStream privateKeyStream,
                                                   char[] passphrase)
        Constructor of KeyPairAuthenticationDetailProvider
        Parameters:
        resourceId - resource id of the resource
        privateKeyStream - private key stream to sign the sign the request
        passphrase - passphrase for the private key
      • KeyPairAuthenticationDetailProvider

        public KeyPairAuthenticationDetailProvider​(String resourceId,
                                                   InputStream privateKeyStream,
                                                   char[] passphrase,
                                                   String tenancyId)
        Constructor of KeyPairAuthenticationDetailProvider
        Parameters:
        resourceId - resource id of the resource
        privateKeyStream - private key stream to sign the sign the request
        passphrase - passphrase for the private key
        tenancyId - tenancy id of the resource
      • KeyPairAuthenticationDetailProvider

        public KeyPairAuthenticationDetailProvider​(String resourceId,
                                                   InputStream privateKeyStream,
                                                   char[] passphrase,
                                                   String tenancyId,
                                                   String ociResourcePrincipalVersion)
        Constructor of KeyPairAuthenticationDetailProvider
        Parameters:
        resourceId - resource id of the resource
        privateKeyStream - private key stream to sign the sign the request
        passphrase - passphrase for the private key
        tenancyId - tenancy id of the resource
        ociResourcePrincipalVersion - resource principal version