Package org.bouncycastle.openpgp.operator

## Class RFC6637Utils

- java.lang.Object
- - org.bouncycastle.openpgp.operator.RFC6637Utils

-     public class RFC6637Utils
      extends java.lang.Object

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static byte[]` | `createUserKeyingMaterial​(PublicKeyPacket pubKeyData, KeyFingerPrintCalculator fingerPrintCalculator)` |
    `static java.lang.String` | `getAgreementAlgorithm​(PublicKeyPacket pubKeyData)` |
    `static org.bouncycastle.asn1.ASN1ObjectIdentifier` | `getKeyEncryptionOID​(int algID)` |
    `static java.lang.String` | `getXDHAlgorithm​(PublicKeyPacket pubKeyData)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getXDHAlgorithm

          public static java.lang.String getXDHAlgorithm​(PublicKeyPacket pubKeyData)

    - #### getAgreementAlgorithm

          public static java.lang.String getAgreementAlgorithm​(PublicKeyPacket pubKeyData)

    - #### getKeyEncryptionOID

          public static org.bouncycastle.asn1.ASN1ObjectIdentifier getKeyEncryptionOID​(int algID)
                                                                                throws PGPException

      Throws:
        `PGPException`

    - #### createUserKeyingMaterial

          public static byte[] createUserKeyingMaterial​(PublicKeyPacket pubKeyData,
                                                        KeyFingerPrintCalculator fingerPrintCalculator)
                                                 throws java.io.IOException,
                                                        PGPException

      Throws:
        `java.io.IOException`
        `PGPException`