Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) Crater Dog Technologies(TM). All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of The MIT License (MIT), as published by the Open * Source Initiative. (See http://opensource.org/licenses/MIT) * /
 
package craterdog.security;
This class defines the attributes associated with a notary key. A notary key has a private part (signing key) that is used to sign notarized documents. It also has a public part (verification key) that is used to verify that a document was signed using the notary key.

Author(s):
Derk Norton
public final class NotaryKey {

    
The unique identifier for the notary key.
    public Tag keyId;

    
The private key that is used for signing a notarized document.
    public PrivateKey signingKey;

    
The public key that is used to verify the signature on a notarized document.
    public PublicKey verificationKey;

    
The lifetime of the key along with the version of the signing algorithm used to generate it.
    public Watermark watermark;
New to GrepCode? Check out our FAQ X