Class GetParametersForImportRequest

    • Method Detail

      • keyMaterialType

        public final KeyMaterialType keyMaterialType()

        The method to use for key material import. Import token is only required for TR-34 WrappedKeyBlock ( TR34_KEY_BLOCK) and RSA WrappedKeyCryptogram (KEY_CRYPTOGRAM).

        Import token is not required for TR-31, root public key cerificate or trusted public key certificate.

        If the service returns an enum value that is not available in the current SDK version, keyMaterialType will return KeyMaterialType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from keyMaterialTypeAsString().

        Returns:
        The method to use for key material import. Import token is only required for TR-34 WrappedKeyBlock ( TR34_KEY_BLOCK) and RSA WrappedKeyCryptogram (KEY_CRYPTOGRAM).

        Import token is not required for TR-31, root public key cerificate or trusted public key certificate.

        See Also:
        KeyMaterialType
      • keyMaterialTypeAsString

        public final String keyMaterialTypeAsString()

        The method to use for key material import. Import token is only required for TR-34 WrappedKeyBlock ( TR34_KEY_BLOCK) and RSA WrappedKeyCryptogram (KEY_CRYPTOGRAM).

        Import token is not required for TR-31, root public key cerificate or trusted public key certificate.

        If the service returns an enum value that is not available in the current SDK version, keyMaterialType will return KeyMaterialType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from keyMaterialTypeAsString().

        Returns:
        The method to use for key material import. Import token is only required for TR-34 WrappedKeyBlock ( TR34_KEY_BLOCK) and RSA WrappedKeyCryptogram (KEY_CRYPTOGRAM).

        Import token is not required for TR-31, root public key cerificate or trusted public key certificate.

        See Also:
        KeyMaterialType
      • wrappingKeyAlgorithm

        public final KeyAlgorithm wrappingKeyAlgorithm()

        The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under import.

        At this time, RSA_2048 is the allowed algorithm for TR-34 WrappedKeyBlock import. Additionally, RSA_2048, RSA_3072, RSA_4096 are the allowed algorithms for RSA WrappedKeyCryptogram import.

        If the service returns an enum value that is not available in the current SDK version, wrappingKeyAlgorithm will return KeyAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from wrappingKeyAlgorithmAsString().

        Returns:
        The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under import.

        At this time, RSA_2048 is the allowed algorithm for TR-34 WrappedKeyBlock import. Additionally, RSA_2048, RSA_3072, RSA_4096 are the allowed algorithms for RSA WrappedKeyCryptogram import.

        See Also:
        KeyAlgorithm
      • wrappingKeyAlgorithmAsString

        public final String wrappingKeyAlgorithmAsString()

        The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under import.

        At this time, RSA_2048 is the allowed algorithm for TR-34 WrappedKeyBlock import. Additionally, RSA_2048, RSA_3072, RSA_4096 are the allowed algorithms for RSA WrappedKeyCryptogram import.

        If the service returns an enum value that is not available in the current SDK version, wrappingKeyAlgorithm will return KeyAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from wrappingKeyAlgorithmAsString().

        Returns:
        The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under import.

        At this time, RSA_2048 is the allowed algorithm for TR-34 WrappedKeyBlock import. Additionally, RSA_2048, RSA_3072, RSA_4096 are the allowed algorithms for RSA WrappedKeyCryptogram import.

        See Also:
        KeyAlgorithm
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object