Example usage for com.amazonaws.services.ec2.model KeyPair setKeyFingerprint

List of usage examples for com.amazonaws.services.ec2.model KeyPair setKeyFingerprint

Introduction

In this page you can find the example usage for com.amazonaws.services.ec2.model KeyPair setKeyFingerprint.

Prototype


public void setKeyFingerprint(String keyFingerprint) 

Source Link

Document

The SHA-1 digest of the DER encoded private key.

Usage

From source file:jp.primecloud.auto.aws.typica.converter.KeyPairConverter.java

License:Open Source License

@Override
protected KeyPair convertObject(KeyPairInfo from) {
    KeyPair to = new KeyPair();

    to.setKeyName(from.getKeyName());//  w  ww. java  2s.co m
    to.setKeyMaterial(from.getKeyMaterial());
    to.setKeyFingerprint(from.getKeyFingerprint());

    return to;
}