Class PrivateKeyAnnotator


  • public class PrivateKeyAnnotator
    extends Object
    Class for instancing AnnotatedPrivateKeys.
    • Constructor Detail

      • PrivateKeyAnnotator

        public PrivateKeyAnnotator()
    • Method Detail

      • annotate

        public static AnnotatedPrivateKey annotate​(PrivateKey privKey,
                                                   String label)
        Create an AnnotatedPrivateKey with a single annotation using AnnotatedPrivateKey.LABEL as a key.
        Parameters:
        privKey - the private key to be annotated.
        label - the label to be associated with the private key.
        Returns:
        the newly annotated private key.